module.exports = (app) => {
  const { router, controller } = app;
  router.post('/api/login', controller.user.user.login);
  router.post('/api/register', controller.user.user.register);
  router.post('/api/refresh', controller.user.user.refresh);
  router.get('/api/captcha', controller.user.user.captcha);

  router.get('/api/menu', controller.menu.menu.menu);
};